/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package gui;

import java.util.List;
import org.xhtmlrenderer.simple.XHTMLPanel;
import org.xhtmlrenderer.simple.extend.XhtmlNamespaceHandler;
import org.xhtmlrenderer.swing.FSMouseListener;

/**
 *
 * @author takeshi
 */
public class HTMLPanel extends XHTMLPanel {

    public HTMLPanel() {
        List list = this.getMouseTrackingListeners();
        for (Object object : list) {
            this.removeMouseTrackingListener((FSMouseListener) object);
        }
        setDocumentFromString("<html><body/></html>", "", new XhtmlNamespaceHandler());
    }
}
